package org.activiti.solon.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.activiti.solon.entity.ActExtDef;
import org.activiti.solon.entity.AssignVO;
import org.activiti.solon.entity.FlowEditVO;
import org.activiti.solon.entity.PageExt;
import org.noear.snack.ONode;

import java.math.BigInteger;

public interface ActExtDefService {

    int insert(ActExtDef actExtDef);

    String create(ActExtDef actExtDef);

    ONode selectEditorJson(String modelId);

    String saveEditorXml(FlowEditVO flowEdit);

    IPage<AssignVO> queryAssign(PageExt<AssignVO> queryInfo);

    IPage<ActExtDef> selectPage(PageExt<ActExtDef> queryInfo);

    String deployModel(BigInteger extDefId);

    String selectModelSvg(String modelId);
}
